package com.yaoge.enumtest;

public class TestEnum {
    public static void main(String[] args) {

        WeekDay day=WeekDay.Tuesday;

        if (day.value==2){
            System.out.println("排行第二，是："+day.getChinese());
        }



    }


}
